package com.vip.seata.at.business.feign;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "springboot-seata-order")
public interface OrderFeign {

    @PostMapping("/order/create")
    void create(@RequestParam String userId, @RequestParam String commodityCode, @RequestParam int count);

}